package com.example.onlineeducation.data.json
import com.google.gson.annotations.SerializedName


data class BannerJson(
    @SerializedName("id") val id: String?, // 0
    @SerializedName("mediaInfo") val mediaInfo: MediaInfo?,
    @SerializedName("name") val name: String?,
    @SerializedName("updateTime") val updateTime: String?,
    @SerializedName("url") val jumpAddress: String?,//图片跳转地址
    @SerializedName("state") val state: String?,//图片展示状态  1-展示，2-隐藏
    @SerializedName("position") val position: Int?//排序
) {
    data class MediaInfo(
        @SerializedName("updateTime") val updateTime: String?,
        @SerializedName("webPath") val imgUrl: String?
    )

}